All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Printer

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Printer

public class Printer
extends NativeObject
implements Coding
This class wraps the Objective-C class NSPrinter.


Variable Index

 o PrinterTableError
 o PrinterTableNotFound
 o PrinterTableOK

Constructor Index

 o Printer()
This default constructor is equivalent to Objective-C's [[NSPrinter alloc] init].
 o Printer(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Printer(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o acceptsBinary()
A wrapper for the - acceptsBinary Objective-C instance method.
 o booleanForKeyInTable(String, String)
A wrapper for the - booleanForKey:inTable: Objective-C instance method.
 o deviceDescription()
A wrapper for the - deviceDescription Objective-C instance method.
 o domain()
A wrapper for the - domain Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o floatForKeyInTable(String, String)
A wrapper for the - floatForKey:inTable: Objective-C instance method.
 o host()
A wrapper for the - host Objective-C instance method.
 o imageRectForPaper(String)
A wrapper for the - imageRectForPaper: Objective-C instance method.
 o intForKeyInTable(String, String)
A wrapper for the - intForKey:inTable: Objective-C instance method.
 o isColor()
A wrapper for the - isColor Objective-C instance method.
 o isFontAvailable(String)
A wrapper for the - isFontAvailable: Objective-C instance method.
 o isKeyInTable(String, String)
A wrapper for the - isKey:inTable: Objective-C instance method.
 o isOutputStackInReverseOrder()
A wrapper for the - isOutputStackInReverseOrder Objective-C instance method.
 o languageLevel()
A wrapper for the - languageLevel Objective-C instance method.
 o name()
A wrapper for the - name Objective-C instance method.
 o note()
A wrapper for the - note Objective-C instance method.
 o pageSizeForPaper(String)
A wrapper for the - pageSizeForPaper: Objective-C instance method.
 o printerNames()
A wrapper for the + printerNames Objective-C class method.
 o printerTypes()
A wrapper for the + printerTypes Objective-C class method.
 o printerWithName(String)
A wrapper for the + printerWithName: Objective-C class method.
 o printerWithNameAndDomain(String, String, boolean)
A wrapper for the + printerWithName:domain:includeUnavailable: Objective-C class method.
 o printerWithType(String)
A wrapper for the + printerWithType: Objective-C class method.
 o rectForKeyInTable(String, String)
A wrapper for the - rectForKey:inTable: Objective-C instance method.
 o sizeForKeyInTable(String, String)
A wrapper for the - sizeForKey:inTable: Objective-C instance method.
 o statusForTable(String)
A wrapper for the - statusForTable: Objective-C instance method.
 o stringForKeyInTable(String, String)
A wrapper for the - stringForKey:inTable: Objective-C instance method.
 o stringListForKeyInTable(String, String)
A wrapper for the - stringListForKey:inTable: Objective-C instance method.
 o type()
A wrapper for the - type Objective-C instance method.

Variables

 o PrinterTableOK
 public static final int PrinterTableOK
 o PrinterTableNotFound
 public static final int PrinterTableNotFound
 o PrinterTableError
 public static final int PrinterTableError

Constructors

 o Printer
 protected Printer(boolean shouldAllocate,
                   int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Printer
 public Printer()
This default constructor is equivalent to Objective-C's [[NSPrinter alloc] init].

 o Printer
 public Printer(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o printerWithName
 public static native Printer printerWithName(String name)
A wrapper for the + printerWithName: Objective-C class method.

 o domain
 public native String domain()
A wrapper for the - domain Objective-C instance method.

 o printerWithNameAndDomain
 public static native Printer printerWithNameAndDomain(String name,
                                                       String domain,
                                                       boolean flag)
A wrapper for the + printerWithName:domain:includeUnavailable: Objective-C class method.

 o printerNames
 public static native Array printerNames()
A wrapper for the + printerNames Objective-C class method.

 o printerWithType
 public static native Printer printerWithType(String type)
A wrapper for the + printerWithType: Objective-C class method.

 o printerTypes
 public static native Array printerTypes()
A wrapper for the + printerTypes Objective-C class method.

 o name
 public native String name()
A wrapper for the - name Objective-C instance method.

 o host
 public native String host()
A wrapper for the - host Objective-C instance method.

 o type
 public native String type()
A wrapper for the - type Objective-C instance method.

 o note
 public native String note()
A wrapper for the - note Objective-C instance method.

 o isColor
 public native boolean isColor()
A wrapper for the - isColor Objective-C instance method.

 o acceptsBinary
 public native boolean acceptsBinary()
A wrapper for the - acceptsBinary Objective-C instance method.

 o isOutputStackInReverseOrder
 public native boolean isOutputStackInReverseOrder()
A wrapper for the - isOutputStackInReverseOrder Objective-C instance method.

 o pageSizeForPaper
 public native Size pageSizeForPaper(String paperName)
A wrapper for the - pageSizeForPaper: Objective-C instance method.

 o imageRectForPaper
 public native Rect imageRectForPaper(String paperName)
A wrapper for the - imageRectForPaper: Objective-C instance method.

 o languageLevel
 public native int languageLevel()
A wrapper for the - languageLevel Objective-C instance method.

 o isFontAvailable
 public native boolean isFontAvailable(String faceName)
A wrapper for the - isFontAvailable: Objective-C instance method.

 o statusForTable
 public native int statusForTable(String table)
A wrapper for the - statusForTable: Objective-C instance method.

 o deviceDescription
 public native Dictionary deviceDescription()
A wrapper for the - deviceDescription Objective-C instance method.

 o isKeyInTable
 public native boolean isKeyInTable(String key,
                                    String table)
A wrapper for the - isKey:inTable: Objective-C instance method.

 o stringForKeyInTable
 public native String stringForKeyInTable(String key,
                                          String table)
A wrapper for the - stringForKey:inTable: Objective-C instance method.

 o sizeForKeyInTable
 public native Size sizeForKeyInTable(String key,
                                      String table)
A wrapper for the - sizeForKey:inTable: Objective-C instance method.

 o rectForKeyInTable
 public native Rect rectForKeyInTable(String key,
                                      String table)
A wrapper for the - rectForKey:inTable: Objective-C instance method.

 o intForKeyInTable
 public native int intForKeyInTable(String key,
                                    String table)
A wrapper for the - intForKey:inTable: Objective-C instance method.

 o floatForKeyInTable
 public native float floatForKeyInTable(String key,
                                        String table)
A wrapper for the - floatForKey:inTable: Objective-C instance method.

 o booleanForKeyInTable
 public native boolean booleanForKeyInTable(String key,
                                            String table)
A wrapper for the - booleanForKey:inTable: Objective-C instance method.

 o stringListForKeyInTable
 public native Array stringListForKeyInTable(String key,
                                             String table)
A wrapper for the - stringListForKey:inTable: Objective-C instance method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index